package com.exam.pojo;


/**
 * @author 郭荣锋
  *  专业类
 */
public class Major {
	
	private Integer id;   //编号
	private String majorName;   //专业名称
	private Integer state;    //状态
	
	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getId() {
		return id;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getMajorName() {
		return majorName;
	}
	
	public void setMajorName(String majorName) {
		this.majorName = majorName;
	}

	@Override
	public String toString() {
		return "Major{" + "id=" + id + ", majorName='" + majorName + '\'' + ", state=" + state + '}';
	}
}
